package com.jianbing.north.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 用户测试结果对象 north_answer_record
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
public class NorthAnswerRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 得分是哪个part */
    @Excel(name = "得分是哪个part")
    private Long part;

    /** 难度 0 最简单 */
    @Excel(name = "难度 0 最简单")
    private Long difficulty;

    /** 用户得分 */
    @Excel(name = "用户得分")
    private Long fraction;

    /** 该次挑战正确个数 */
    @Excel(name = "该次挑战正确个数")
    private Long rightNum;

    /** 该挑战题目数 */
    @Excel(name = "该挑战题目数")
    private Long allNum;

    /** 使用对话id */
    @Excel(name = "使用对话id")
    private Long dialogueId;

    @Excel(name = "连线次数")
    private Long connectNum;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 记录插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录插入时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date insertTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPart(Long part) 
    {
        this.part = part;
    }

    public Long getPart() 
    {
        return part;
    }
    public void setDifficulty(Long difficulty) 
    {
        this.difficulty = difficulty;
    }

    public Long getDifficulty() 
    {
        return difficulty;
    }
    public void setFraction(Long fraction) 
    {
        this.fraction = fraction;
    }

    public Long getFraction() 
    {
        return fraction;
    }
    public void setRightNum(Long rightNum) 
    {
        this.rightNum = rightNum;
    }

    public Long getRightNum() 
    {
        return rightNum;
    }
    public void setAllNum(Long allNum) 
    {
        this.allNum = allNum;
    }

    public Long getAllNum() 
    {
        return allNum;
    }
    public void setDialogueId(Long dialogueId) 
    {
        this.dialogueId = dialogueId;
    }

    public Long getDialogueId() 
    {
        return dialogueId;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Long getConnectNum() {
        return connectNum;
    }

    public void setConnectNum(Long connectNum) {
        this.connectNum = connectNum;
    }

    public Date getInsertTime()
    {
        return insertTime;
    }

    @Override
    public String toString() {
        return "NorthAnswerRecord{" +
                "id=" + id +
                ", userId=" + userId +
                ", part=" + part +
                ", difficulty=" + difficulty +
                ", fraction=" + fraction +
                ", rightNum=" + rightNum +
                ", allNum=" + allNum +
                ", dialogueId=" + dialogueId +
                ", connectNum=" + connectNum +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", insertTime=" + insertTime +
                '}';
    }
}
